Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Jun 30, 2025

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19464


private static byte[] getRandomBytes() {
final var bytes = new byte[RANDOM_SIZE];
new Random().nextBytes( bytes );

Check warning

Code scanning / CodeQL

Random used only once Warning test

Random object created and used only once.
@beikov beikov merged commit 1c1658d into hibernate:7.0 Jun 30, 2025
25 checks passed
@beikov beikov deleted the HHH-19464-7.0 branch June 30, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants